import request from '@/utils/request'

/**
 * 缴费查询接口
 */
export default {
  searchCompanyList(data) {
    return request({
      method: 'get',
      url: '/company/queryCompanyList',
      params: data
    })
  },
  saveCompany(data) {
    return request({
      method: 'post',
      url: '/company/saveCompany',
      params: data
    })
  },
  updateCompany(data) {
    return request({
      method: 'post',
      url: '/company/updateCompany',
      params: data
    })
  },
  relevanceCheck(data) {
    return request({
      method: 'post',
      url: '/company/relevanceCheck',
      params: data
    })
  },
  downloadFile() {
    return request({
      method: 'post',
      responseType: 'blob',
      url: '/company/download'
    })
  },
  getSumNeetToPay(data) {
    return request({
      method: 'get',
      url: '/company/getSumNeetToPay',
      params: data
    })
  }
}
